<?php

namespace app\controller;

use app\admin\controller\Web;
use app\service\UserService;
use Exception;
use share\controller\ApiBaseController;
use think\Log;

class IndexController extends ApiBaseController
{

    /**
     * 默认构造与显示
     */
    public function home_action()
    {

        //input 
        //权限   签名  用户 限流 ....
        //   Controller -> service(ye) redis   cache -> model  const state_FLA
        //输出

        return self::ok(['data'=>'']);
        // return self::ok(['ip' => $this->request->ip(), 'time' => time()]);
    }


    public function  index(){

    }

    public function not_found_action(){
        return self::fail("path not found",404);
    }

}
